package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CurrentLocalTimestampValueFunction implements DatetimeValueFunction {

    private int beginIndex;
    private int endIndex;
    private UnsignedInteger timestampPrecision;

    public CurrentLocalTimestampValueFunction(int beginIndex, int endIndex, UnsignedInteger timestampPrecision) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.timestampPrecision = timestampPrecision;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public UnsignedInteger getTimestampPrecision() {
        return timestampPrecision;
    }
    
}
